package com.apes.pi.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.pi.model.Pipe;

import java.util.List;

/**
 * 管道
 *
 * @author wuq
 * @create 2019-10-22 16:04
 */
public interface PipeRepository extends CustomRepository<Pipe, String> {

    int deleteByParent(String id);

    List<Pipe> findByParentOrderById(String id);
}
